package kite.sso.controller;

import kite.sso.service.KiteSysService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 功能描述: <br>
 * 所属包名: kite.sso.controller<br>
 * 创建人　: 白剑<br>
 * 创建时间: 06/08/2018 13:47 Friday<br>
 * 当前版本: 1.0<br>
 * 修改历史: <br>
 * 修改时间　　　　　修改人　　　　　版本变更　　　　　修改说明<br>
 * -----------------------------------------------------<br>
 * <br>
 */
@RestController
@RequestMapping("/sys")
public class KiteSysController {

    @Autowired
    private KiteSysService kiteSysService;

    @RequestMapping("/list/{userId}")
    public String list(@PathVariable("userId") String userId) {
        return kiteSysService.getUserSys(userId);
    }

}
